package cn.newgrand.netcall.search.contact;

import cn.newgrand.netcall.base.ContactBean;

/**
 * @author SidneyRen E-mail:SidneyRen@hotmail.com
 * @version create time：2010-8-2 上午10:17:01
 * 
 * 类说明:联系人实体类
 * 
 */
public class ContactSearchBean extends ContactBean {

	// 共享组联系人名字
	private String namePY;
	// 自设的用户名
	private String nickNamePY;
	//拼音首字母
	private String nickNamePYF;
	//拼音首字母
	private String namePYF;
	
	public ContactSearchBean(){}
	
	public ContactSearchBean(ContactBean cb,String namePY,String namePYF,String nickNamePY,String nickNamePYF){
		super(cb.getJID(), cb.getUserName(),cb.getName(),cb.getNickName());
		this.namePY = namePY;
		this.namePYF = namePYF;
		this.nickNamePY = nickNamePY;
		this.nickNamePY = nickNamePY;
	}
	
	public ContactSearchBean(String JID,String namePY,String namePYF,String nickNamePY,String nickNamePYF){
		super.setJID(JID);
		this.namePY = namePY;
		this.namePYF = namePY;
		this.nickNamePY = nickNamePY;
		this.nickNamePY = nickNamePY;
	}

	public String getNamePY() {
		return namePY;
	}

	public void setNamePY(String namePY) {
		this.namePY = namePY;
	}

	public String getNickNamePY() {
		return nickNamePY;
	}

	public void setNickNamePY(String nickNamePY) {
		this.nickNamePY = nickNamePY;
	}

	public String getNickNamePYF() {
		return nickNamePYF;
	}

	public void setNickNamePYF(String nickNamePYF) {
		this.nickNamePYF = nickNamePYF;
	}

	public String getNamePYF() {
		return namePYF;
	}

	public void setNamePYF(String namePYF) {
		this.namePYF = namePYF;
	}
}
